package cn.hdc.os.dao;

import cn.hdc.os.entity.ClaimVoucherItem;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("claimVoucherItemDao")
public interface ClaimVoucherItemDao {
    //新增一个报销单详情
    void insert(ClaimVoucherItem claimVoucherItem);

    //修改一个报销单详情
    void update(ClaimVoucherItem claimVoucherItem);

    //删除一个报销单详情
    void delete(int id);

    //根据报销单编号查询报销单条目
    List<ClaimVoucherItem> selectByClaimVoucher(int cvid);
}
